Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
replace client_id with 1950a258-227b-4e31-a9cf-717495945fc2 which is the well-known client ID for Azure PowerShell App, so that we do not have to create a new application registration in AzureAD to leverage the ROPC grant flow.
This will make this code to work seamless as, in the documentation is not even mentioned the need to register an application to use the ROPC flow.
The use of such AppId is also suggested in others samples as-well, for example: https://docs.microsoft.com/en-us/azure-stack/user/azure-stack-rest-api-use?view=azs-2102